#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Time    : 2024/3/29 10:41
@Author  : thezehui@gmail.com
@File    : __init__.py.py
"""
import warnings

# 忽略jieba模块的资源警告
warnings.filterwarnings('ignore', category=ResourceWarning, module='jieba')

# 预加载jieba词典，避免延迟加载
try:
    import jieba
    jieba.initialize()
except ImportError:
    pass  # jieba模块未安装，忽略错误
